package cn.licoy.jenkinsspringboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author licoy.cn
 * @version 2017/11/24
 */
@RestController
public class HomeController {

    @RequestMapping(value = {"/"})
    public String index(){
        return "Hello World!";
    }
    @RequestMapping(value = {"/home"})
    public String home(){
        return "home controller";
    }

}
